|
![](/i/fill.gif) |
Part of what I have so far,
#include "shapes.inc"
#include "metals.inc"
#include "colors.inc"
global_settings {assumed_gamma 2.0}
camera { location < 0, 0, +15> up < 0, 1, 0> right < 1.3333, 0, 0> look_at
< 0, -0.25, 0> angle 15 }
light_source { < -1, 2, +2 > color White }
light_source { < 0, 1, +8 > color White }
#declare color_bond = White ;
#declare finish_all = finish { phong 0.8 }
#declare color_H = rgb <0.95,0.95,0.95> ;
#declare color_C = rgb < 0.1, 0.1, 0.1 > ;
background { color White }
#declare color_O = Red ;
#declare color_N = Blue ;
#declare color_Pd = Green ;
#declare color_S = Yellow ;
//-------------------------------------------------------------------spheres
union {
// Pd1
sphere {
< 3.0070, -0.2782, -1.5342 >, 0.45
texture { pigment { color color_Pd}
finish { finish_all } } }
// O1
sphere {
< 0.8712, -0.6197, -1.3006 >, 0.20
texture { pigment { color color_O }
finish { finish_all } } }
//--------------------------------------------------------------------bonds
// bond Pd1 O1 1
cylinder {
< 2.5670, -0.3486, -1.4860 > , < 2.4307, -0.3704,
-1.4711 >,
0.050
texture { pigment { color color_bond }
finish { finish_all } } }
// bond Pd1 O1 1
cylinder {
< 2.2944, -0.3922, -1.4562 > , < 2.1581, -0.4140,
-1.4413 >,
0.050
texture { pigment { color color_bond }
finish { finish_all } } }
// bond Pd1 O1 1
cylinder {
< 2.0217, -0.4357, -1.4264 > , < 1.8854, -0.4575,
-1.4115 >,
0.050
texture { pigment { color color_bond }
finish { finish_all } } }
// bond Pd1 O1 1
cylinder {
< 1.7491, -0.4793, -1.3966 > , < 1.6128, -0.5011,
-1.3817 >,
0.050
texture { pigment { color color_bond }
finish { finish_all } } }
// bond Pd1 O1 1
cylinder {
< 1.4765, -0.5229, -1.3668 > , < 1.3402, -0.5447,
-1.3519 >,
0.050
texture { pigment { color color_bond }
finish { finish_all } } }
// bond Pd1 O1 1
cylinder {
< 1.2039, -0.5665, -1.3370 > , < 1.0676, -0.5883,
-1.3221 >,
0.050
texture { pigment { color color_bond }
finish { finish_all } } }
scale 0.240
rotate y*180
translate y*-0.25
}
tx again
Kees
Post a reply to this message
|
![](/i/fill.gif) |